﻿<UserControl x:Class="WpfDataUi.Controls.TextBoxDisplay"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" >
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Name="FirstColumn" Width="{Binding FirstGridLength}"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        
        <Label x:Name="Label" MinWidth="100">Property Label:</Label>
        <TextBox Grid.Column="1" x:Name="TextBox" LostFocus="TextBox_LostFocus_1" 
                 MinWidth="60" VerticalAlignment="Center">
            <TextBox.ContextMenu>
                <ContextMenu>
                </ContextMenu>
            </TextBox.ContextMenu>
        </TextBox>

    </Grid>
</UserControl>
